package com.keai.service;

import com.keai.entity.PageResult;
import com.keai.entity.QueryPageBean;
import com.keai.pojo.Permission;

import java.util.List;

/**
 * @program: SpringMVC_test
 * @author: Mr.Dong
 * @create: 2019-08-24 16:36
 */
public interface PermissionService {

    PageResult findPage(QueryPageBean queryPageBean);

    void add(Permission permission);

    void delById(Integer id);

    Permission findById(Integer id);

    void edit(Permission permission);

    List<Permission> findAll();
}
